//
//  SQTestViewController.swift
//  SwiftWeibo
//
//  Created by 苏强 on 16/11/17.
//  Copyright © 2016年 suqianghotel. All rights reserved.
//

import UIKit

class SQTestViewController: SQBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        
        let next = UIBarButtonItem(title :"下一个",
                                   target:self,
                                   action:#selector(SQTestViewController.nextVC))
        self.navigationItem.rightBarButtonItems = [UIBarButtonItem.space, next]
        
    }
    
   

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

}


extension SQTestViewController
{
    @objc fileprivate func nextVC()
    {
        navigationController?.pushViewController(SQTestViewController(), animated: true)
    }
}

